/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mydatastore.entity;

/**
 *
 * @author DTIT
 */
public class User {
    private int id = -1;
    private String userName;
    private String password;
    private UserType userType;

  public User(int id, String userName, String password, UserType userType) {
    this.id = id;
    this.userName = userName;
    this.password = password;
    this.userType = userType;
  }
  
  public User(String userName, String password, UserType userType) {
    this.userName = userName;
    this.password = password;
    this.userType = userType;
  }

  public String getUserName() {
    return userName;
  }

  public String getPassword() {
    return password;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public UserType getUserType() {
    return userType;
  }
  
  
}
